<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>工具页面</title>
    <!--   查询一个、查询所有、添加一个、删除一个、修改一个 -->
    <link rel="stylesheet" href="day004.css">
</head>
<body>

<div>
    <form action="http://localhost:1024/javase_26_war_exploded/day04/getAll" method="post">
        <input type="submit" value="获取所有">
    </form>
</div>

<div>
    <form action="http://localhost:1024/javase_26_war_exploded/day04/getOne">
        <label>
            请输入要查询的id：
            <input type="text" name="queryId">
        </label>
        <input type="submit" value="查询一个">
    </form>
</div>

<div>
    <form action="http://localhost:1024/javase_26_war_exploded/day04/addOne">
        <table>
            <tr>
                <td><label>
                    id:<input type="text" name="studentId">
                </label></td>
            </tr>
            <tr>
                <td><label>
                    name:<input type="text" name="studentName">
                </label></td>
            </tr>
            <tr>
                <td><label>
                    性别:
                    <input type="radio" name="studentGender" value="男"/> 男
                    <input type="radio" name="studentGender" value="女"/> 女
                </label></td>
            </tr>
            <tr>
                <td><label>
                    分数:<input type="text" name="studentScore">
                </label>
                   </td>
            </tr>
            <tr>
                <td> <label><input type="submit" value="添加一个"></label></td>
            </tr>
        </table>




    </form>
</div>

<div>
    <form action="http://localhost:1024/javase_26_war_exploded/day04/delOne">
        <label>
            请输入要删除的id：
            <input type="text" name="DelId">
        </label>
        <input type="submit" value="删除一个">
    </form>
</div>
<div>
    <form action="http://localhost:1024/javase_26_war_exploded/day04/alterOne">
        <table>
            <tr>
                <td><label>
                    id:<input type="text" name="studentId">
                </label></td>
            </tr>
            <tr>
                <td><label>
                    name:<input type="text" name="studentName">
                </label></td>
            </tr>
            <tr>
                <td><label>
                    性别:
                    <input type="radio" name="studentGender" value="男"/> 男
                    <input type="radio" name="studentGender" value="女"/> 女
                </label></td>
            </tr>
            <tr>
                <td><label>
                    分数:<input type="text" name="studentScore">
                </label>
                </td>
            </tr>
            <tr>
                <td> <label><input type="submit" value="修改一个"></label></td>
            </tr>
        </table>




    </form>
</div>


</body>
</html>